package com.kriss.crm.entity;
// default package

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {


    // Fields    

     private Integer uuid;
     private String userName;
     private String logName;
     private String userPass;
     private String lastLogIp;
     private Date lastLogTime;
     private Integer userStatus;
     private Set userRoles = new HashSet(0);


    // Constructors

    /** default constructor */
    public User() {
    }

    
    /** full constructor */
    public User(String userName, String logName, String userPass, String lastLogIp, Date lastLogTime, Integer userStatus, Set userRoles) {
        this.userName = userName;
        this.logName = logName;
        this.userPass = userPass;
        this.lastLogIp = lastLogIp;
        this.lastLogTime = lastLogTime;
        this.userStatus = userStatus;
        this.userRoles = userRoles;
    }

   
    // Property accessors

    public Integer getUuid() {
        return this.uuid;
    }
    
    public void setUuid(Integer uuid) {
        this.uuid = uuid;
    }

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLogName() {
        return this.logName;
    }
    
    public void setLogName(String logName) {
        this.logName = logName;
    }

    public String getUserPass() {
        return this.userPass;
    }
    
    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getLastLogIp() {
        return this.lastLogIp;
    }
    
    public void setLastLogIp(String lastLogIp) {
        this.lastLogIp = lastLogIp;
    }

    public Date getLastLogTime() {
        return this.lastLogTime;
    }
    
    public void setLastLogTime(Date lastLogTime) {
        this.lastLogTime = lastLogTime;
    }

    public Integer getUserStatus() {
        return this.userStatus;
    }
    
    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public Set getUserRoles() {
        return this.userRoles;
    }
    
    public void setUserRoles(Set userRoles) {
        this.userRoles = userRoles;
    }
   








}